/**
 * Copyright (C), 2001-2031, www.bosssof.com.cn
 * FileName: UserLoginDto.java
 * Author: YuXingZh
 * Date: 17/6/2024 上午11:25
 * Description:
 * <p>
 * History:
 * Date          Author   Version  Desc
 * 2024-01-01    bosssoft  1.0.0   initialize this file
 */
package com.bosssoft.g1.authserver.vo;

import lombok.Data;

import java.util.Date;

/**
 * @className: UserLoginDto
 * @description:
 * 解决什么问题：
 *  演示线程池的正确使用 
 * 主要方法和数据成员：
 *  methodxx 使用 ThreadPoolExecutor创建线程进行任务操作
 * 注意事项：
 *  例如：该类需要从容器获取不可以new   
 * @author: YuXingZh
 * @date: 17/6/2024上午11:25
 * @since 1.0
 **/
@Data
public class UserLoginVO {

    private Long id;
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column basic_user.code
     *
     * @mbg.generated Sat Jun 01 16:30:05 CST 2024
     */
    private String code;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column basic_user.name
     *
     * @mbg.generated Sat Jun 01 16:30:05 CST 2024
     */
    private String name;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column basic_user.profile_picture
     *
     * @mbg.generated Sat Jun 01 16:30:05 CST 2024
     */
    private String profilePicture;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column basic_user.sex
     *
     * @mbg.generated Sat Jun 01 16:30:05 CST 2024
     */
    private Byte sex;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column basic_user.birthday
     *
     * @mbg.generated Sat Jun 01 16:30:05 CST 2024
     */
    private Date birthday;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column basic_user.tel
     *
     * @mbg.generated Sat Jun 01 16:30:05 CST 2024
     */
    private String tel;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column basic_user.email
     *
     * @mbg.generated Sat Jun 01 16:30:05 CST 2024
     */
    private String email;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column basic_user.other
     *
     * @mbg.generated Sat Jun 01 16:30:05 CST 2024
     */
    private String other;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column basic_user.remark
     *
     * @mbg.generated Sat Jun 01 16:30:05 CST 2024
     */
    private String remark;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column basic_user.department_id
     *
     * @mbg.generated Sat Jun 01 16:30:05 CST 2024
     */
    private Long departmentId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column basic_user.position_id
     *
     * @mbg.generated Sat Jun 01 16:30:05 CST 2024
     */
    private Long positionId;


    private Long tenantId;
    private String tenantName;
    private Long orgId;
    private Long companyId;

    /**
     * 访问令牌
     */
    private String token;
    /**
     * 刷新令牌
     */
    private String refreshToken;
    /**
     * 访问令牌头前缀
     */
    private String tokenHead;
    /**
     * 有效时间（秒）
     */
    private int expiresIn;
}
